package com.dmlll.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dmlll.VO.DrugMessageVO;
import com.dmlll.domain.DrugMessage;
import com.dmlll.domain.HospitalPurchaseCatalog;
import com.dmlll.domain.Provider;
import com.dmlll.mapper.HospitalPurchaseCatalogMapper;
import com.dmlll.service.HospitalPurchaseCatalogService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author dmLll
 * @since 2021-03-31
 */
@Service
public class HospitalPurchaseCatalogServiceImpl extends ServiceImpl<HospitalPurchaseCatalogMapper, HospitalPurchaseCatalog> implements HospitalPurchaseCatalogService {
    @Override
    public List<HospitalPurchaseCatalog> getAvaCatalog(IPage iPage, Integer[] drugMessageIds, Integer hospitalId, DrugMessageVO drugMessageVO, Provider provider,Integer controlState) {
        return this.getBaseMapper().getAvaCatalog(iPage,drugMessageIds,hospitalId,drugMessageVO,provider, controlState);
    }
}
